
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.GroupEntity;
import com.zhitan.ems.app.iot.vo.GroupVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备分组 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:15:46
 */
public class GroupWrapper extends BaseEntityWrapper<GroupEntity, GroupVO>  {
    public static GroupWrapper build() {
        return new GroupWrapper();
    }
	@Override
	public GroupVO entityVO(GroupEntity group) {
		if(group==null) {
			return null;
		}
		GroupVO groupVO = BeanUtil.copy(group, GroupVO.class);
		return groupVO;
	}

}
